using System;

namespace SharpMud.Server.Systems.Security.Entities
{
	public interface IUser : IEntity
	{
		bool			HasPassword(string passwordGuess);
		
		bool			IsInRole(string				roleName);
		bool			IsInRole(IUserRole			role);
		bool			IsInRole(UserRoleReference	roleReference);

		UserReference	GetReference();
	}
}
